import request from "@/utils/request";

const BASEURL = "/admin/cmn/dict";
//查询dictCode获取下级节点
export function findByDictCode(dictCode) {
  return request({
    url: `${BASEURL}/findByDictCode/${dictCode}`,
    method: "get",
  });
}
//根据数据id查询子数据列表
export function getChildDictListById(id) {
  return request({
    url: `${BASEURL}/getChildDictListById/${id}`,
    method: "get",
  });
}
